package com.crane.oss.api.bean.request;

import com.crane.common.core.dto.ApiRequest;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;


/**
 * @author bealon
 */
@Getter
@Setter
@ToString
public class SchoolStateRequest extends ApiRequest {

    @NotNull(message = "学校id不能为空")
    private String schoolId;

    @NotNull(message = "状态不能为空 0 失败 1成功")
    private int state;

    private String reason;
}
